package com.ft.oa.service.development;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ft.oa.domain.dev.DevAllocateAccept;
import com.ft.oa.domain.development.DevAllocate;
import com.ft.oa.domain.development.DevNeedIssue;
import com.ft.oa.domain.dto.ApiResult;

import java.util.Map;

/**
 * 研发执行接口
 */
public interface DevExecService {

    /**
     * 研发项目未分配分页
     */
    Page<DevNeedIssue> page(DevNeedIssue condition);

    /**
     * 研发项目分配
     */
    ApiResult allocate(DevAllocate allocate);

    /**
     * 研发项目已分配分页
     * @param allocate
     * @return
     */
    Page<DevAllocate> allocatedPage(DevAllocate allocate);

    /**
     * 审批人列表
     * @return
     */
    ApiResult approverList();

    /**
     * 抄送人列表
     * @return
     */
    ApiResult copyerList();

    Map devNeedIssueDetail(Long id);

    Map devNeedAllocateDetail(Long id);

    ApiResult devNeedAllocateAccept(DevAllocateAccept devAllocateAccept);
}
